@import "../style/utils";

.detailtext{
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(to right,rgba(255, 255, 255, 0.4) 1px, rgba(255, 255, 255, 0.95) 10px);
    width: 25px;
    text-align: right;
    color: #444;
    span{
        cursor: pointer;
        &:hover{
            color: #4285f4;
        }
    }
    p{
        visibility: hidden;
        width: 200px;
        background: #fff;
        position: absolute;
        right: 0;
        top: 35px;
        transition: opacity .2s cubic-bezier(0.0,0.0,0.2,1);
        opacity: 0;
        text-align: left;
        border: 1px solid #e1e8ed;
        border-radius: 2px;
        padding: 4px;
        font-size: 15px;
        line-height: 1.4;
        &:after, &:before{
            content: ' ';
            display: block;
            position: absolute;
            border-width: 10px;
            border-color: transparent;
            border-style: solid;
        }
        &:after{
            border-bottom-color: #fff;
            right: 4px;
            top: -19px;
        }
        &:before{
            border-bottom-color: #e1e8ed;
            right: 4px;
            top: -20px;
        }
        &[data-show="true"]{
            opacity: 1;
            visibility: visible;
        }
    }
}
